Skip to content

fix: rewrite results capture keys during counted device expansion#6

Merged
Frando merged 1 commit intomainfrom
test/diag-fixup-proc-net
Mar 24, 2026
Merged

fix: rewrite results capture keys during counted device expansion#6
Frando merged 1 commit intomainfrom
test/diag-fixup-proc-net

Conversation

@Frando
Copy link
Member

@Frando Frando commented Mar 23, 2026

When a step template has results like down_bytes = ".size", this gets
expanded to "fetcher.size" during template merge. But for counted
devices (fetcher-0, fetcher-1, ...), the capture is stored under
"fetcher-0.size" while the results key remained "fetcher.size".

Fix by also rewriting StepResults capture keys during counted expansion,
so "fetcher.size" becomes "fetcher-0.size" for the expanded step.

This fixes missing results in combined-results for multi-device sims
(1to3, 1to5, 1to10, 2to2, etc).

@Frando Frando force-pushed the test/diag-fixup-proc-net branch from d5d48ed to 4cef12a Compare March 23, 2026 21:23
@Frando Frando changed the title test: add diagnostic test for fixup_proc_net bind-mount in CI fix: rewrite results capture keys during counted device expansion Mar 23, 2026
When a step template has results like `down_bytes = ".size"`, this gets
expanded to `"fetcher.size"` during template merge. But for counted
devices (fetcher-0, fetcher-1, ...), the capture is stored under
`"fetcher-0.size"` while the results key remained `"fetcher.size"`.

Fix by also rewriting StepResults capture keys during counted expansion,
so `"fetcher.size"` becomes `"fetcher-0.size"` for the expanded step.

This fixes missing results in combined-results for multi-device sims
(1to3, 1to5, 1to10, 2to2, etc).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@Frando Frando force-pushed the test/diag-fixup-proc-net branch from 4cef12a to cbe0a0f Compare March 23, 2026 21:25
@Frando Frando merged commit 94876c4 into main Mar 24, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant